package net.trustie.dao;

import net.trustie.model.lagou_Model;
import org.apache.ibatis.annotations.Insert;
public interface lagou_Dao {
	

//	@Insert("insert into lagou"
//			+ "(`url`,`created_time`,`deal_title`,`tags`,`content`,`salary`,`experience`,`comp_name`,"
//			+ "`comp_url`,`addr`,`comp_scale`,`comp_field`,`financing`,`post_id`,`extractTime`,"
//			+ "`history`,)"
//			
//   			+ "values (#{post_url},#{post_time},#{post_title},#{post_tags},#{post_content},#{salary},"
//			+ "#{experience},#{comp_name},#{comp_url},#{addr},#{comp_scale},#{comp_field},#{financing},"
//			+ "#{post_id},#{extractTime},#{history},#{work_type},#{degree})")
	@Insert("insert into job_requirements"
			+ "(`similar_position`,`url_md5`,`source`,`type`,`author`,`url`,`created_time`,`title`,`tags`,`content`,"
			+ "`salary`,`experience`,`work_place`,`scale`,`domain`,`finance`,"
			+ "`extracted_time`,`style`,`education`)"
			
+ "values (#{similar_position},#{url_md5},#{source},#{type},#{comp_name},#{post_url},#{post_time},#{post_title},#{post_tags},"
+ "#{post_content},#{salary},#{experience},#{addr},#{comp_scale},#{comp_field},"
+ "#{financing},#{extractTime},#{work_type},#{degree})")
			 
	public int add(lagou_Model lgModel);


}
